[optimizer array] bugfix, when updating the model the optimizer array would not update