update plot, especially animation