update player and initialize