update snippet brace best practice