update to controller > pins.rb