Update to alg