replace  mongoose operator by  for publisher works API