Add record getter and batch update script