Update polygon class