[fix] update is string not var in api