Changed the save and remove middleware to parallel and prevent the update call from occuring if the list of ids to update is empty