removed uniqueness to allow editing attendance. Also edit only affects attendance parameters