add or updated equals methods