refine DB API sample