update postinstall scripts in examples