update java hibernate jpa + ruby