Update library

use a waterfall?