fix up attendance and add metadata