update for the DAlogrithm