Refactor gob update