Add tkt_visible to $edb->insert in new_instance