Reverting back to previous state without caching