http.put update method