Working on merging databases