change db upgrade check stratergy