add changing polling flags