somehow, an update api is needed