Flush after update. Closes #2406.