added update method for using RestClient.put
make correction to addon_create method