update api
bug with expireDate