return updated result