implemented updating the inverse slater matrix2