Please move these two functions into the `success` function.  These should be refreshed only after the delete occurs (and is reported as successful).