update storage.js