html refresh due to new sample addition