updates cookie when player ids have changed