Add timestamp if it doesn't already exist