update refresh script