updates to the latet version of the agetn API