fix nil fn call in updates.lua

fix nil fn call at https://github.com/sdegutis/hydra/blob/master/Hydra/API/updates.lua#L11
Merge pull request #221 from justmao945/patch-1

fix nil fn call in updates.lua