Database configuration on update