RobotStudio event

Having trouble updating RAPID data dynamically after upload of initial Code.

I am trying to make dynamic updates on my already uploaded Rapid Code. 

My understanding so far is that you
1) use "GetRapidData" to get the variable you want to change.
2) Create a new variable with the same type as the one you want to change. 
3) Make changes to the new variable
4) Assign the new variable to the actual variable you want to change but first obtain mastership to change rapid code. 

However When I try to re-access the variable to see if has changed It shows me that it hasnt changed from default :( 
My flex-pendent also shows me "Remote-Write Access Enabled"
But I got rid of that by disposing of my mastership.