updated filter for view