add order scope and modify api