Updating model with set