Update 3 algorithms