[player] update player control code