update to set value attribute on input and text area element