merging create and edit
create and edit now using same form