Update managed.hpp