added metadata scripts for updating database.