changed routes for graph