dropdown is propertly sending data to database