aapi sample update