added state update polling