added db info to repo callback