Index: /trunk/src/org/openstreetmap/josm/actions/UpdateModifiedAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/UpdateModifiedAction.java	(revision 3092)
+++ /trunk/src/org/openstreetmap/josm/actions/UpdateModifiedAction.java	(revision 3093)
@@ -7,4 +7,5 @@
 import java.awt.event.KeyEvent;
 import java.util.Collection;
+import java.util.Collections;
 
 import org.openstreetmap.josm.data.osm.OsmPrimitive;
@@ -51,3 +52,9 @@
     protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) {
     }
+
+    @Override
+    public Collection<OsmPrimitive> getData() {
+        if (getCurrentDataSet() == null) return Collections.emptyList();
+        return getCurrentDataSet().allModifiedPrimitives();
+    }
 }
Index: /trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java	(revision 3092)
+++ /trunk/src/org/openstreetmap/josm/actions/UpdateSelectionAction.java	(revision 3093)
@@ -118,6 +118,6 @@
         if (! isEnabled())
             return;
-        Collection<OsmPrimitive> selection =getCurrentDataSet().getSelected();
-        if (selection.size() == 0) {
+        Collection<OsmPrimitive> toUpdate =getData();
+        if (toUpdate.size() == 0) {
             JOptionPane.showMessageDialog(
                     Main.parent,
@@ -128,5 +128,9 @@
             return;
         }
-        updatePrimitives(selection);
+        updatePrimitives(toUpdate);
+    }
+
+    public Collection<OsmPrimitive> getData() {
+        return getCurrentDataSet().getSelected();
     }
 }
