updating function calls