Add method to update livevar when an instruction moves