updated point on curve example