Refine the refreshing function.