updates for getting data