updating text path