Code:
<OnUpdate>
UIMod_OnUpdate(self, elapsed)
</OnUpdate>
Assuming UIMod_OnUpdate is the name of your lua OnUpdate function and it's global.
I would have to check but I'm pretty sure the function attribute came with Mixins and may be tied to them (I don't really use XML these days).