Notice to the agent of any matter connected with his agency shall be notice to the principal.