update docs and phaar