added automatic refresh refresh