editing with the modal now works