database version check implemented