Added handling for ERROR and UPDATE types in TPP.