Change table routes_with_refs to view routes_with_refs