updating player and result