Saute' squash in butter until soft. Reduce heat and add corn, onions, salt, pepper and green chili. Mix well and add milk. Simmer until well blended. Add cheese and cover until cheese is melted.