def update(self, friendly_name=values.unset, attributes=values.unset,<EOL>date_created=values.unset, date_updated=values.unset,<EOL>created_by=values.unset):
data = values.of({<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': attributes,<EOL>'<STR_LIT>': serialize.iso8601_datetime(date_created),<EOL>'<STR_LIT>': serialize.iso8601_datetime(date_updated),<EOL>'<STR_LIT>': created_by,<EOL>})<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return SessionInstance(self._version, payload, sid=self._solution['<STR_LIT>'], )<EOL>
Update the SessionInstance

:param unicode friendly_name: The human-readable name of this session.
:param unicode attributes: An optional string metadata field you can use to store any data you wish.
:param datetime date_created: The date that this resource was created.
:param datetime date_updated: The date that this resource was last updated.
:param unicode created_by: Identity of the session's creator.

:returns: Updated SessionInstance
:rtype: twilio.rest.messaging.v1.session.SessionInstance