Made changes to MetaData dao