Update the addRoute method