added update distribute script