change the polling unit from millisecond to second