not working put api