updated api routes