update picture.rb to change processing for User model