Change the function adjacencies