Update the JPA part