update finish snippet