added slack and modulus updates