Removed added refresh function and use pre existing function.