Check dependency in update and delete module