LPS-39316 Updates the hidden fields when the editing is done in the input