code: def update(self, ttl=values.unset, collection_ttl=values.unset):
          
          data = values.of({'Ttl': ttl, 'CollectionTtl': collection_ttl, })
  
          payload = self._version.update(
              'POST',
              self._uri,
              data=data,
          )
  
          return SyncMapInstance(
              self._version,
              payload,
              service_sid=self._solution['service_sid'],
              sid=self._solution['sid'],
          )
docs: Update the SyncMapInstance
  
          :param unicode ttl: Alias for collection_ttl
          :param unicode collection_ttl: New time-to-live of this Map in seconds.
  
          :returns: Updated SyncMapInstance
          :rtype: twilio.rest.sync.v1.service.sync_map.SyncMapInstance