update spec dependancies & fix minor metadata merging bug