[Version Control] Git Update

Fix API break.
Modified OnUpdate to use type flags rather than additional parameter.