update doc to use @ ctor syntax