Use auto-update to avoid explicit update/flush threads

Pinging @kazu-yamamoto.