add template to route_map