fix examples for latest version