Update wind algorithm