Added support for renaming table