update service.rb and config.json.erb