using go loop instead of threads for update ticker