add db lib to helper.