updated addCommitFields