Updated Merge to new Database definition