I don't think so..regardless you should be able to remove this line and use Appointment.findByIdAnUpdate below