Update app/models/line.rb