changes the way
updates config