added refresh controller