working on service. need to sync db when file is downloaded