update to tsapi 0.5.8