check for nils when updating player state