update hidden field id