updating controller dependency