adapt update functions to new structure
Merge branch 'repart' of github.com:schuel/hmmm into repart
fix syntax