Fluid-structure interaction (FSI) issues are widespread in many scientific and engineering disciplines. The immersed boundary (IB) method, which deals with complex moving objects without the need for complicated mesh construction, is a traditional numerical method for simulating FSI problems. The IB method first proposed by Peskin has clear benefits for handling elastic flexible boundary issues. Although several researchers have refined the original method, there is still a stability issue for rigid boundaries. Additionally, the classic immersed boundary approach lacks the conservation of volume, which has a substantial impact on the method's accuracy regardless of whether the boundary is an elastic flexible boundary or a rigid boundary. To improve the calculation stability and accuracy of rigid boundaries, this paper proposes a method to improve the volume conservation of rigid boundaries. The main idea is to compute the Lagrangian force on the rigid boundary using the two-variable coupled technique. The stiffness and time step restrictions of the stability condition are addressed by this method by taking into consideration the coupling of fluid force density and boundary displacement. Additionally, applying divergence-free scheme ensures enhanced volume conservation. Numerical examples show that this strategy can significantly enhance volume conservation when compared to the standard approach.