add code for refresh items