Use patch in deployment script