Change duplicate declaration of resource aptitude update