updated the algorithm files