change dataproviding method