Take out duplicate refresh function