added unixTime, updateFlag to types