added deep extend for configs