Update algorithm to keep up with Aspen changes