update entity and jpa settings