updating chache