changing polling frequency