update examples after refactorings