update last plot