Update tk library and support of ping