fixed solr update in done stage, added metadata