update to tsapi 0.5.7