edit patient and details