Auto-update of functions