added update for patient and doctor profile