change minimal db version to 2