introduced update IDs to fix race conditions