change root package pointer