add update in groovy
tdd on JPA annotated generator