update mex during datataking-> read error status