Result function update