added refresh with activity