html refresh due to sample refresh