updated html form, added edit view