add a API for purging cubes