small change to refresh log index page after deleting