page refresh code is added