[IMP]move code from set_status to write method,used baselang to writein all partner.