update for new endpoint with slightly different format