Update contraction library