Adding task to update data when the db is dropped