upgrade the agents by keeping the customized parameters