commit snapshot