renaming tables of database.