Update metadata during distgit update process