add write to topic