update

fun update()

upgrade the game states.