commit with working snapshot