update by LJW for implement DataStorage class