delete object, modify container