Fixed bug when updating IceState