minor changes in refresh