Replaced deprecated endpoint with new one