Update EventStore.php