Updates for new url format in api server