use dependency_reg to add watch