update gui with swc file