update the swc