Added function to fetch new problems and update the db