update image cache;