Simplified update fn.