fixed naming of model in update.