motifs, update latentnpcoref stuff