add  auto refresh class