updated attendance so it can use ids, added hta to visit object