manage stock on status modification