Update activity.rb