due to le chatalier principle , the system would cause the equilibrium to shift in such a way that it partially removes the disturbance in the system , therefore it causes the increase/decrease in the chemical concentration depending on the side of the equation it is on , the other factor is the enthalpy of the forward and backward reaction, but how to really prove that the increase/decrease would cancel out each other's effect in the change of equilibrium constant ?