Patients controller update method and tests
Refactor patients controller