success method added for httparty support