added db upgrade boolean