Update magic/app/models/local.rb