create log length field and length update capacity