Changed the eq methods in entities, added __ne__, fixed eq bugs. Modified update so that if 2 identical entities appear in a list, both get updated, not only the first one