Added a new refresh code