added option to update model (input neurons) and train
added option to update model (input neurons) and train

MartinThoma/write-math,MartinThoma/write-math,MartinThoma/write-math,MartinThoma/write-math