udpate function name