changed api routes for speech text