update docs
unify typedef names