If you only want to update existing key without creating one:
if (_store.ContainsKey(book.id)) { _store[book.id] = book; }
If you want to add or update existing:
if (!_store.TryAdd(book.id, book)) { _store[book.id] = book; }