failed to upload files correctly after name change

There also some work in there on the new hydralic api