added version to db file