upgrade API