Update to match latest primus api