[autotimer] update code