adding forms to edit page and fixed edit path