update docs and completion script