update local files

update local function files