database tables updated to track self changes