update factors