fixed http put and added gson