update continuous function