update routes, controllers, and dependencies