update api methods