some changes in edit and new forms to solve editing problems