update store_raw manifest handling
clean up process_metadata