reconcile databases with groups