Updated the logic of suggestion edit box