Update small function.