updated gemspec. added reset for api handler