updating api and paths