update entities variable spelling