Fixes to update_module

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>