added scheduling function to check for updates all 5 minutes