update to metadata handling - pick input from processing graph