update with motif counter