add edit_work form and tests