fixed common columns are not ordered when create table definition
added feature: update index definition