added refresh on type check boxes when source changes