preparation for edge triggerd events
add function to update next poll timer externally.