combined create and edit form into one form