refresh page on add class