Iterate over `updates.iteritems()` instead? Same amount of code, easier to extend in the future.