Update trivial algorithm