Added basic indexedDB events add/update functionality pt4