Macfarlanes names new managing partner, re-elects senior partner