Update to prepare for algorithm