updating function rename