changed routes after changing database