Coupling of the accretion disk and corona around black holes