Add updatePointSize and updateSampleSize methods