Update FunctionManager.java