Update read_apex_data.m