updating JaxRs implementation