Update package location logic