update api active