update classification funcs