update api signature