fix attendances association, add attendances while save composition