def METHOD_NAME(self, id=None, arches=None, *args, **kw):
    try:
        osversion = OSVersion.by_id(id)
    except InvalidRequestError:
        flash(_(u"Invalid OSVersion ID %s" % id))
        redirect(".")
    arch_objects = [Arch.by_id(arch) for arch in arches]
    if osversion.arches != arch_objects:
        osversion.arches = arch_objects
        flash(_(u"Changes Saved for %s" % osversion))
    else:
        flash(_(u"No Changes for %s" % osversion))
    redirect(".")