tweak api urls.