sync API
#128 upgrade API