Update managed.rb