implementing metadata log for data modifcation statements