When editing the form data is not updated in drop down list