update bagfile directory