add more complex object for indexedDB