add jpa functionality update contact