updates record store, mostly done
merging