improved edit table layout