update for cell array learnRate and momentum