Update JPA query