Update to portal-java 0.5