update hidden fields for responses