use max lengths from for table creation
log changes