[mr2971] add lock in BuildObjectUpdates.