improve refresh