script for updating the gdoc document (UWSD)