Update selectionController.c