udpating script