changed in and out degree