updated the api urls