A novel biological circuit to control directed evolution in vivo