update monkey patch