upgrade docs and bugfix

upgrade install's notes
fix a bug with model.rb