updated prog_err_by_offset