fix result updation