added refresh to view.