removing logic to update input fields