Update plot only after all data has been sent. Fixes #162