Put onto and edit comments on elasticsearch

Issues: If you add comments one by one it seems to work fine but if you
use a forloop to add comments it doesnt seem to work.