adding purge functionality on KeyValueStorage