    # File lib/fog/openstack/requests/image/update_image.rb, line 6
            def update_image(attributes)

             data = {
                  "x-image-meta-name" => attributes[:name],
                  "x-image-meta-disk-format" => attributes[:disk_format],
                  "x-image-meta-container-format" => attributes[:container_format],
                  "x-image-meta-size" => attributes[:size],
                  "x-image-meta-is-public" => attributes[:is_public],
                  "x-image-meta-min-ram"  => attributes[:min_ram],
                  "x-image-meta-min-disk" => attributes[:min_disk],
                  "x-image-meta-checksum" => attributes[:checksum],
                  "x-image-meta-owner" => attributes[:owner]
              }

              unless attributes[:properties].nil?
                attributes[:properties].each do |key,value|
                  data["x-image-meta-property-#{key}"] = value
                end
              end

              request(
                :headers  => data,
                :expects  => 200,
                :method   => 'PUT',
                :path     => "images/#{attributes[:id]}"
              )
            end