Update checking of optional packages