f update function
Merge branch 'master' of https://github.com/vmr2117/nnet