Update photos_helper.rb