Improve plot update handling.