refine upgrade for trial