add json to the put request