Update RL from qiu_tie

many changes