PortalKit: upgrade to version 1.0.4