fix another bug with update generation