Update for algorithme