updating requires on routes and server