Add PUT method for updating TruthValue and AttentionValue. Refactor parsing into separate classes.