updates for image loading