[bare_design] update the api