updated dependency check