updating optimize-image