updated Metadata loader