merge same records (resources)