update inputs to html lib