Use plugin hooks instead of updating every second