updaing script