added support for updating a patient record
added support for updating patient record