updating win lose conditions