auto refresh after delete works