Update ts fields to timestamp.