Modify url for edit/update actions