Updated daily_update and weekly_update methods to intereact with .db file