updating UE and RE and RI