update docs script