update model.method