update popup for polygon