added extra hook for getdbsites