refactoring result update