update classification method