change deployment-strategy logic