code that I use to refresh/relearn/upgrade