placing new /api route in place of old /api route