The actual updates should happen in the success function of the safeAjax call, and an error handler should be added (look for discussionAlert)