fix for updating text