commit list item functionality