workign edit patient and demographics