improve refresh algorithm