Updating function syntax