Extract service update logic

Extracts the service update logic to a seperate function so the
`main.js` file does not need to calculate dates, it can simply ask the
UpdateTracker if it needs to fetch the updated services list.