update game of life