fix monkey-patch to $update to properly restore specified values
Add action and a simple global action