update

Create function for work to class game block.