updated error plot