updated windows detection