updating wins and losses