fixed update patient and doctor profile