Updating function definitions