update editor brace