Make input hidden, update input on page reload