Added function registry update to main