use new update api