updates replicate script