corrected undo / redo function (re-introduce broadcasting into cache layer)