add fs-refresh function.