update with cellular automata