update all test set script based on new API