add replicate for relay log