add dependency from priority list
change dependency