updating using simpler new api