Added setting for update interval

- Fixed #6