Fix script/update_doc.rb

It was reseting the changes generated by yard doc