updated StorageWriter