update collections for lesson form's assignments and assignment key