update roots migration bug fixes