update to version 3 endpoints