update the routing from last problem