update dist script