improved image updating