update Norvig algorithm