update some parameters for stabilization
refactoring
Move to the new flexibility state observer.