A Developed Approach for Incorporating the Equations of State into the Shan-Chen model