update refresh code