    # 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-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