updating for image preloads