Adding update interval setting.
Merge pull request #1 from Serahug/master

Update interval parameter