update mode on install script