update variables inside html to receive value