modify update route for production "mod on id"