Added refresh for history as well.