Added rebuild method for refine view