updates configuration