add error handling on Storage.put() and Storage.del()