update the commitment number of pod spec