emit events
make memroy store support multi version