UnitScript update