followed RailsCast with Ajax updates