update to show type field