Add updateById method to model.