adding directive to refresh list