updated equality