Update Some Algorithms