Update types to auto