Chaning method of updating timestamp to be less resource intensive.