code: def update(self, visualization):
          
          res = self.es.update(index=self.index, id=visualization.id, doc_type=self.doc_type,
                               body={'doc': visualization.to_kibana()},
                               refresh=True)
          return res
docs: Updates existing visualization
          :param visualization: instance of Visualization that was previously loaded
          :return: