index documents in elasticsearch when they're updated