added sotre_in_background in photo.rb