updating the drop down clearing impl