fix doc error for update