updated http interface