Question [Q] How to flash single file with CWMRecovery? (preparing update.zip)

Hi all.
I have modified certain .so library and want to safely flash it over existing firmware.
I see that incremental updates for GravityMod are possible; (and contain update-binary, META-INF and a number of other unspeakable things).

How do I prepare such updates?