update character move and background music