Changed endpoints to v5.