update api to suport recent features