Changed saving type name key from 'name' to 'type_name'