update to aapi samples