update algirhtms