Update document.rb

remove unneeded change