update the status after calculation