resetting UI
webservice updated to accept string for insert and updateing