update version, change script phase from "preinstall" to "install"