copy attr to nested table
rebuild