templates updates, game loop