modify Rakefile and demo_sns_pub