Add versioning for record deletion as well as record creation