merged and final database