Update image references.