udpate script