update main scripts