clearing and refreshing upgrade