update routes and secrets