update for factors