Added Pattern plotter
BUG FIX
Add NPE check on last_update