updated hidden field to text