code: def filter_update(self, id, phrase = None, context = None, irreversible = None, whole_word = None, expires_in = None):
          
          id = self.__unpack_id(id)
          params = self.__generate_params(locals(), ['id'])
          url = '/api/v1/filters/{0}'.format(str(id))
          return self.__api_request('PUT', url, params)
docs: Updates the filter with the given `id`. Parameters are the same
          as in `filter_create()`.
          
          Returns the `filter dict`_ of the updated filter.