Updated adding vertex to polygon