change db repository