fix migration; update attendance caches
bugfix in updating presence cache for InstitutionCharge