Adding entities and updating Hibernate