add correct version of entity