debugging update for editing form inputs