update master election