Update and fixed incorrect player winning