game update in timer