As against a principal, both principal and agent are deemed to have notice of whatever either has notice of and ought in good faith and the exercise of ordinary care and diligence to communicate to the other.