update by creating new class grid_routing