Added code that remembers if rupgrade was updated after rerunning it