update equals