Persistence Update

made persistence optional