def update(self, weight=values.unset, priority=values.unset,<EOL>enabled=values.unset, friendly_name=values.unset,<EOL>sip_url=values.unset):
data = values.of({<EOL>'<STR_LIT>': weight,<EOL>'<STR_LIT>': priority,<EOL>'<STR_LIT>': enabled,<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': sip_url,<EOL>})<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return OriginationUrlInstance(<EOL>self._version,<EOL>payload,<EOL>trunk_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the OriginationUrlInstance

:param unicode weight: The value that determines the relative load the URI should receive compared to others with the same priority
:param unicode priority: The relative importance of the URI
:param bool enabled: Whether the URL is enabled
:param unicode friendly_name: A string to describe the resource
:param unicode sip_url: The SIP address you want Twilio to route your Origination calls to

:returns: Updated OriginationUrlInstance
:rtype: twilio.rest.trunking.v1.trunk.origination_url.OriginationUrlInstance