update postinstall script