def update(details)
      details.each do |k, v|
        send("#{k}=", v)
      end
      self.class.update(version_key, details)
    end
def update(details)
      details.each do |k, v|
        send("#{k}=", v)
      end
      self.class.update(version_key, details)
    end
Updates a version

 [Arguments]
 :details     (required)    Details of the version to be updated