update tetris js