update docs, done up to lang-ref