update database configuation