updating script