code for posting brand spankin' new metadata records to the db