update game of pong