new version of indexdb + support for db versions