commit with documents