Made update interval a configurable option