add function to remove metadata

removes sample and prep info in database