change table type to usage