update edit form link and edit capabilities to fix functionality