Update documents_helper.rb