set random secret parameter on install and update