refresh Algorithms: Design and Analysis