* rename state type field to fix backwards compatibility issue * replace usages of stateType with type