fix bug for updating data for running-open and running-closed status

Steve. please review