move update parsing logic