Fixed the update bug.

Turns out that you can't match against a wildcard in a unit pattern.
We'll figure out eventually how to fix this...
Merge branch 'fix-update'