Bodies database 'to help families'