udpate polynomial and everything is working"