add db version control