adding refreshEdit