fix create_or_update api
make elasticseach_connector return number of records affected on update