Adding refresh on collection change
removing unnecessary var