RefreshDocument enhancement