Update correct variable in parseData