Update to routes to allow migrations with dynamic pages