Added versioning to tables