Updated api routes