update dragonfly.rb for Refinery 3.0