updating to new config syntax