updating double point class