Api data structure change