update database conf