Update Algorithm work