Update annotations for the jpa api