updated set config strategy, used merge config insteand of set