Added incremental updating of the unit store.