add database configure sharing dynamically