Rename tables to preserve data