A hybrid model in dynamic software updating for c