Added ability to add additional functions to update loop