Update to function call