upate script