Modified root credential update validation
Added validation on db credentials