add uml and visitor record