1)change configure to support dataspaces method on BGQ 2)change stage_write example