update according to the new model