check for update api