add content provider hook