Update type_single.sql