summary refresh code