Update postinstall hook