Simple definition of updateState(block) method)
Renamed getState to pollState
Tabs to spaces
pylint updates
Fix import typo