merging mongoose