working on medical controller EditPost