Cloud detection upgrade