addd refresh to views