update docs and scripts