update warning handling for depend