changed the version of entity reference