attached id to edit custom field save object

removed hardcoded routes