co-ordinates updation and triangle level