adding parent_id to edit and new forms