add script to update the doc