updated for relating records between customer & certificate