update functions scaffold