api position changed