update polynomial sample input