update parsing correctly