fixed adding of columns; problems with deleting dynamic columns on change (currently all dyn. cols are deleted, so only one pattern per table possible)