add build_data api