metadata: added method to check for existing and add new paths to set