Finished SQL update for doctor