for update of model