manage the automatic dbschema upgrade