add poll method for operators
fix update material bug