Fix bug in make_updates.py

During the transition in 4f8c792 the gen_host_updates was not update
correctly. Make it a method and call it as we should