change dependency type