I have gone through some of the Stackoveflow question . but I was not able to do the same.
Hive doesnot support update but a workaround for that is to create partition to table.
How to update a record in Hive?
The update feature in Hive is planned in the next release.
As a workaround , You could try the below :
NOTE : There will be duplicated data , but serde should only show the latest U data corresponding to the latest timestamp in the timestamp column.