improve refresh function