Algorithm update