update Module#instance_method like Module#public_instance_method