update api urls