Update all functions