update to latest polygon lib