after modification of the drop down menu