Update persistence.js