added update scrip