Trying to work out how to update the route stack