refresh after given time