modify model and rule to update price