Made fixed to json code that was breaking. Changed response procedure when we are confused. Added special syntax to update the inverted index.