update JPA annotations of lab8 to fix some mistakes